package com.lsy.jetpackdemo

import retrofit2.http.GET

/**
 * @Author Lsy
 * @Date 2022/10/12 9:21
 */
interface ApiService {
    /**
     * 获取首页置顶文章列表
     * http://www.wanandroid.com/article/top/json
     */
    @GET("article/top/json")
    suspend fun getTopArticles(): ResponseData<MutableList<Article>>
}